package DAO.impl;

import DAO.BaseDao;
import DAO.SchoolDAO;
import bean.School;

import java.sql.Connection;

/**
 * @author 栋
 * @date 2022/11/25
 * @description
 */
public class SchoolDAOImpl extends BaseDao<School>implements SchoolDAO {
    @Override
    public School getStuInfByNumber(Connection conn, String number) {
        String sql="select * from school where stu_number=?";
        return getInstance(conn,sql,number);
    }
}
